function add() {
   var a = $("#yiyuan").val();
   var b = $("#lianxiren").val();
   var c = $("#caigoudanmingcheng").val();
   var d = $("#lianxifangshi").val();
   var e = $("#beizhu").val();
   var f = $("#gonghuo").val();
    $.ajax({
        url: "/myspringboot/SalesReturn/addtuohuodan",
        data:{
            hName:a,
            poContacts:b,
            poName:c,
            poPhone:d,
            poRemarks:e,
            poSupplyTime:f,
        },
        type: "post",
        dataType: "json",
        success: function (result) {
            if (result.msg=="yes") {
                window.location.reload();
            }else {
                alert("添加失败")
            }

        }
    })
}